- getSchemaVersion
long getSchemaVersion(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.
- initializeDB
Miniorm initializeDB(AbsolutePath p)
Initialize or open an existing database.
- makeUpgradeTable
UpgradeTable makeUpgradeTable()
Inspects a module for functions starting with upgradeV to create a table of
functions that can be used to upgrade a database.
- replaceTbl
void replaceTbl(Miniorm db, string src, string dst)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateSchemaVersion
void updateSchemaVersion(Miniorm db, long ver)
Undocumented in source. Be warned that the author may not have intended to support it.
- upgrade
void upgrade(Miniorm db, UpgradeTable tbl)
Undocumented in source. Be warned that the author may not have intended to support it.
- upgradeV0
void upgradeV0(Miniorm db)
If the database start it version 0, not initialized, then initialize to the
latest schema version.
- upgradeV1
void upgradeV1(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.
- upgradeV2
void upgradeV2(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.
- upgradeV3
void upgradeV3(Miniorm db)
Undocumented in source. Be warned that the author may not have intended to support it.